package com.example.demomybatis.mapper;

import com.example.demomybatis.entity.TicketModelType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demomybatis.model.TicketModelTypeVo;
import com.example.demomybatis.model.TicketQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 模型名称和服务类型关系表 Mapper 接口
 * </p>
 *
 * @author zhaoheng
 * @since 2023-08-07
 */
public interface TicketModelTypeMapper extends BaseMapper<TicketModelType> {

    List<TicketModelType> queryByCondition(@Param("ticketQuery") TicketQuery ticketQuery);

    List<TicketModelTypeVo> queryVoByCondition(@Param("ticketQuery") TicketQuery ticketQuery);

    List<TicketModelType> jointSql(@Param("sqlSegment") String sqlSegment, @Param("sqlSegment2") String sqlSegment2);
}
